#include ../../extra.mk

PROG = seutorrent
DISTCLEAN += seutorrent

SRCS = seutorrent.c			\
       bencode.c                        \
       list.c                           \
       dict.c 				\
       set.c            		\
       mystr.c				\
       torrent.c			\
       client.c 			\
       sha1.c           		\
       http.c           		\
       bitfield.c 			\
       logger.c 			\
       peer.c           		\
       config.c 			\
       gettime.c 			\
       network.c        \
       cookiemanager.c  \
       diskio.c         \
       tdiskio.c        \
       cli.c

INCLUDES = bencode.h 			\
	   list.h                       \
	   dict.h 			\
	   set.h          		\
	   mystr.h			\
	   torrent.h			\
	   sha1.h			\
	   client.h			\
	   logger.h 			\
	   bitfield.h 			\
	   peer.h         		\
	   http.h         		\
	   config.h 			\
	   gettime.h 			\
	   network.h         \
      cookiemanager.h   \
      include.h 			\
      diskio.h          \
      tdiskio.h         \
      cli.h

include ../../buildsys.mk

LIBS += -lm -lpthread
CFLAGS += -Wall -g -O0
#CFLAGS += -DDEBUG
